/// resultStatusName : "部分完成"
/// taskId : 16
/// name : "日常巡防任务"
/// startDate : "2022-05-14 09:30:00"
/// endDate : "2022-05-14 20:30:00"
/// pointTotal : 5
/// finishedNum : 3
/// unfinishedNum : 2
/// resultStatus : 1
/// status : 0
/// remark : null
/// deleteStatus : 0
/// branchId : 6627
/// id : 176
/// createdBy : "8952"
/// createdDate : "2022-05-14 10:38:05"
/// updatedBy : "8952"
/// updatedDate : "2022-05-14 21:01:54"

class PatrolRecordListData {
  PatrolRecordListData({
      this.resultStatusName, 
      this.taskId, 
      this.name, 
      this.startDate, 
      this.endDate, 
      this.pointTotal, 
      this.finishedNum, 
      this.unfinishedNum, 
      this.resultStatus, 
      this.status, 
      this.remark, 
      this.deleteStatus, 
      this.branchId, 
      this.id, 
      this.createdBy, 
      this.createdDate, 
      this.updatedBy, 
      this.updatedDate,this.patrolRange});

  PatrolRecordListData.fromJson(dynamic json) {
    resultStatusName = json['resultStatusName'];
    taskId = json['taskId'];
    name = json['name'];
    startDate = json['startDate'];
    endDate = json['endDate'];
    pointTotal = json['pointTotal'];
    finishedNum = json['finishedNum'];
    unfinishedNum = json['unfinishedNum'];
    resultStatus = json['resultStatus'];
    status = json['status'];
    remark = json['remark'];
    deleteStatus = json['deleteStatus'];
    branchId = json['branchId'];
    id = json['id'];
    createdBy = json['createdBy'];
    createdDate = json['createdDate'];
    updatedBy = json['updatedBy'];
    updatedDate = json['updatedDate'];
    timeOutStatus = json['timeOutStatus'];
    patrolRange = json['patrolRange'];
  }
  String? resultStatusName;
  int? taskId;
  String? name;
  bool? timeOutStatus;
  String? startDate;
  String? endDate;
  int? pointTotal;
  int? finishedNum;
  int? unfinishedNum;
  int? resultStatus;
  int? status;
  dynamic remark;
  int? deleteStatus;
  int? branchId;
  int? id;
  String? createdBy;
  String? createdDate;
  String? updatedBy;
  String? updatedDate;
  String? patrolRange;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['resultStatusName'] = resultStatusName;
    map['taskId'] = taskId;
    map['name'] = name;
    map['startDate'] = startDate;
    map['endDate'] = endDate;
    map['pointTotal'] = pointTotal;
    map['finishedNum'] = finishedNum;
    map['unfinishedNum'] = unfinishedNum;
    map['resultStatus'] = resultStatus;
    map['status'] = status;
    map['remark'] = remark;
    map['deleteStatus'] = deleteStatus;
    map['branchId'] = branchId;
    map['id'] = id;
    map['createdBy'] = createdBy;
    map['createdDate'] = createdDate;
    map['updatedBy'] = updatedBy;
    map['updatedDate'] = updatedDate;
    map['timeOutStatus'] = timeOutStatus;
    map['patrolRange'] = patrolRange;
    return map;
  }

}